<?php echo $header; ?>

<style>
<!--
.advice_info {
	widht: 100%;
	min-height: 30px;
	margin-top: 5px;
}

.advice_info>.advice_head {
	height: 38px;
	line-height: 38px;
	padding-left: 7px;
	padding-right: 7px;
	border: 1px solid #DBDBDB;
	background: url('catalog/view/theme/mobile/image/box.png') repeat-x;
	-webkit-border-radius: 7px 7px 0px 0px;
	-moz-border-radius: 7px 7px 0px 0px;
	-khtml-border-radius: 7px 7px 0px 0px;
	border-radius: 7px 7px 0px 0px;
}

.advice_info>.advice_content {
	padding: 10px;
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	min-height: 80px;
	overflow: auto;
	text-align:center;
}
-->
</style>

<script type="text/javascript">
<!--
function delayURL(url) {
	var delay=document.getElementById("time").innerHTML;
	//最后的innerHTML不能丢，否则delay为一个对象
	if(delay>0){
	delay--;
	document.getElementById("time").innerHTML=delay;
	}else{
	window.top.location.href=url;
	}
	setTimeout("delayURL('" + url + "')", 1000);
	//此处1000毫秒即每一秒跳转一次
	}
//-->
</script>
<div id="content">
	<div class="advice_info">
		<div class="advice_head">
			<h2>
			<?php echo $heading_title; ?>
			</h2>
		</div>
		<div class="advice_content">
			<div>申请成功</div>
			<div>
				<span id="time" style="background: red">3</span>
				秒钟之后自动跳转至个人中心，如果不跳转，请点击下面链接 <a href="<?php echo $account;?>">个人中心</a>
			</div>
			<div>
				 <a href="<?php echo $activitys;?>" class="button">活动列表</a>
			</div>
			
		</div>
	</div>
</div>
<script type="text/javascript">
delayURL("<?php echo $account?>");
</script>
			<?php echo $footer; ?>